package edu.sctu.zhuyingzhi.month201505.day20150515.threadTest;

/**
 * Created by user13 on 2015/5/15.
 */
public class TransportTeam extends Thread{
    public void run(){

        System.out.println("弹药已用完 急需补充 通知运输队");

        try {
            sleep(1000);
            MilitaryBase base = new MilitaryBase();
            base.start();
            base.join();
        }catch (Exception e){
            System.out.println("！基地被炸毁！");
        }
        System.out.println("安全到达");
    }
}
